﻿<p>The draughting pre defined colour is a pre defined colour for the purpose to identify a colour by name. Allowable names are:</p>
<ul>
<li>'black',</li>
<li>'red',</li>
<li>'green',</li>
<li>'blue',</li>
<li>'yellow',</li>
<li>'magenta',</li>
<li>'cyan',</li>
<li>'white',</li>
<li>'by layer'</li>
</ul>

<blockquote class="note">
NOTE&nbsp; The <em>IfcDraughtingPreDefinedColour</em> is an entity that had been adopted from ISO 10303-202, Industrial automation systems and integration&mdash;Product data representation and exchange, Part 202: Application protocol: Associative draughting.
</blockquote>

<p>The following table states the RGB values associated with the names given by the <em>IfcDraughtingPreDefinedColour.</em></p>
<blockquote>
<table>
<tbody>
<tr>
<td><b>Colour name</b></td>
<td align="center"><b>Red</b></td>
<td align="center"><b>Green</b></td>
<td align="center"><b>Blue</b></td>
</tr>
<tr>
<td>black</td>
<td align="center">0</td>
<td align="center">0</td>
<td align="center">0</td>
</tr>
<tr>
<td>red</td>
<td align="center">1.0</td>
<td align="center">0</td>
<td align="center">0</td>
</tr>
<tr>
<td>green</td>
<td align="center">0</td>
<td align="center">1.0</td>
<td align="center">0</td>
</tr>
<tr>
<td>blue</td>
<td align="center">0</td>
<td align="center">0</td>
<td align="center">1.0</td>
</tr>
<tr>
<td>yellow</td>
<td align="center">1.0</td>
<td align="center">1.0</td>
<td align="center">0</td>
</tr>
<tr>
<td>magenta</td>
<td align="center">1.0</td>
<td align="center">0</td>
<td align="center">1.0</td>
</tr>
<tr>
<td>cyan</td>
<td align="center">0</td>
<td align="center">1.0</td>
<td align="center">1.0</td>
</tr>
<tr>
<td>white</td>
<td align="center">1.0</td>
<td align="center">1.0</td>
<td align="center">1.0</td>
</tr>
<tr valign="top">
<td>by layer</td>
<td align="left" colspan="3">colour values obtained from<br>
<em>IfcPresentationLayerWithStyle</em>.</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</blockquote>

<blockquote class="note">
NOTE&nbsp; Corresponding ISO 10303 name: draughting_pre_defined_colour. Please refer to ISO/IS 10303-202:1994 page 194 for the final definition of the formal standard.
</blockquote>

<blockquote class="history">
HISTORY&nbsp; New entity in IFC2x2.
</blockquote>

<p class="spec-head">Informal Propositions:</p>
<ol>
<li>The value 'by layer' shall only be inserted, if the geometric representation item using the colour definition has an association to <em>IfcPresentationLayerWithStyle</em>, and if that instance of <em>IfcPresentationLayerWithStyle</em> has a valid colour definition for <em>IfcCurveStyle</em>, <em>IfcSymbolStyle</em>, or <em>IfcSurfaceStyle</em> (depending on what is applicable).</li>
</ol>